﻿#include "CtrlLShaderDialog.h"

CtrlLShaderDialog::CtrlLShaderDialog(QWidget *parent)
	: QDialog(parent)
{
	ui.setupUi(this);
}

void CtrlLShaderDialog::OnStart()
{
	emit SetCtrlArgs(shadow, midtone, highlight);
}
void CtrlLShaderDialog::OnBlackValueChanged(double value)
{
	this->shadow = value;
}
void CtrlLShaderDialog::OnWhiteValueChanged(double value)
{
	this->highlight = value;
}
void CtrlLShaderDialog::OnGrayValueChanged(double value)
{
	this->midtone = value;
}

CtrlLShaderDialog::~CtrlLShaderDialog()
{
}
